package start;

public class D {
    private C c;
    public D() {
        System.out.println("D create..");  
    }

    public void setC(C c) {
        this.c = c;
        System.out.println("D setC("+c+")..");  
    }

    public C getC() {
        System.out.println("D getC()="+c);  
        return c;
    }
}
